home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / CUGUK / PC_LIBS / C045.ZIP / CBEAUT.ARC / README.DOC < prev   
Text File  |  1988-09-18  |  2KB  |  44 lines

  1. 09-18-88
  2.  
  3. The following files are contained within the CB210.ARC archive file:
  4.  
  5.   CB.EXE          - C Beautifier Executable (v2.1)
  6.   CB.C            - C Beautifier source code
  7.   README.DOC      - This readme file
  8.   ETERNITY.TXT    - A message I hope you will consider
  9.  
  10. CB is a "C" source code beautifier.  It reformats the "layout" of C source to
  11. a (hopefully) more readable style and format.  If you are like me you have your
  12. own preference for how C source code should be formatted; and you sometimes
  13. wish that you could rearrange someone else's source to look more like your
  14. preferred format.
  15.  
  16. I found CB.C in the "C User's Group" library over a year ago.  There were no
  17. comments (UGH!!) so I spent about 2 days just figuring out how it worked.  
  18. Then I modified it to format C source according to the way I like to look at
  19. it.  I also added some command line switches to allow the formatting to be
  20. customized to some extent.  CB.EXE has been compiled under Microsoft C 5.0
  21. and linked with SETARGV.OBJ which allows the use of wildcards in the input
  22. file specification.  
  23.  
  24. For example, the following command will beautify all the .C source files in 
  25. the current directory:
  26.  
  27.          CB *.C
  28.  
  29. The original .C files will be renamed to .BAK.
  30.  
  31.  
  32. +------------------------------------------------------------------------------+
  33. |                                                                              |
  34. | I hope you will carefully read the ETERNITY.TXT file.  I believe that the    |
  35. | message is very important and has eternal consequences.  I'm glad that I can |
  36. | share CB with you, but I am convinced that the "Good News" is the best thing |
  37. | I can ever share with you.                                                   |
  38. |                                                                              |
  39. +------------------------------------------------------------------------------+
  40.  
  41.  
  42. Bob Sledge
  43. Compuserve 76515,2620
  44.